package com.example.client;

import com.example.domain.Books;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.awt.print.Book;

@FeignClient("spend-listservice")
public interface Spend_listClient {
    @GetMapping("/spend_list/consumeBook")
    void consumeBook(@RequestParam Long bookId, @RequestParam Long userId);
}
